package com.king.service;

import com.king.pojo.entity.SysRole;
import com.king.pojo.query.RoleQuery;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author liukai
 */
public interface RoleService {

    Page<SysRole> listRole(RoleQuery roleQuery, Pageable pageable);

    SysRole insert(SysRole role);

    SysRole update(SysRole role);
}
